package kkk;

public class Main {  
    public static void main(String[] args) {  
        // 创建电脑  
        Computer pc1 = new Computer("Apple M3", 8, 512);  
        Computer pc2 = new Computer("Apple M1", 16, 512);  
        Computer pc3 = new Computer("Apple M2", 8, 256); 
    
        // 创建学生并分配电脑  
        Student student1 = new Student("jjk", pc1);  
        Student student2 = new Student("lzk", pc2);  
        Student student3 = new Student("zsl", pc3);  
  
        // 打印学生信息及电脑配置  
        student1.printInfo();  
        student2.printInfo();  
        student3.printInfo();  
    }  
}